package com.mall.course.swimPlace.service.impl;

import com.mall.course.swimPlace.domain.dto.SwimPlaceDto;
import com.mall.course.swimPlace.domain.vo.SwimPlaceVo;
import com.mall.course.swimPlace.mapper.SwimPlaceMapper;
import com.mall.course.swimPlace.service.IAppSwimPlaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppSwimPlaceServiceImpl implements IAppSwimPlaceService {

    @Autowired
    private SwimPlaceMapper swimPlaceMapper;

    @Override
    public List<SwimPlaceVo> selectSwimPlaceList() {
        SwimPlaceDto swimPlaceDto = new SwimPlaceDto();
        return swimPlaceMapper.selectSwimPlaceList(swimPlaceDto);
    }
}
